From: Jasper St. Pierre Date: Wed, 6 Mar 2013 08:30:17 +0000 (-0500) Subject: messageTray: Remove the tray left timeout when showing a new notification X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4486 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4771f80d6f09609bc2866a6683d604a923b28e9c;p=gnome-shell.git messageTray: Remove the tray left timeout when showing a new notification https://bugzilla.gnome.org/show_bug.cgi?id=695659 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index bdb33d9b0..a89048076 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -2539,6 +2539,14 @@ const MessageTray = new Lang.Class({ this._notificationUnfocusedId = 0; } + this._useLongerTrayLeftTimeout = false; + if (this._trayLeftTimeoutId) { + Mainloop.source_remove(this._trayLeftTimeoutId); + this._trayLeftTimeoutId = 0; + this._trayLeftMouseX = -1; + this._trayLeftMouseY = -1; + } + if (this._notificationRemoved) { Tweener.removeTweens(this._notificationWidget); this._notificationWidget.y = this.actor.height;